package objects

import (
	"venus/service/sv_tcp/znet/zpb"
)

func (player *Player) InfoBase() (info *zpb.PlayerInfoBase) {
	info = &zpb.PlayerInfoBase{}
	info.Puid = player.Pid
	info.Uuid = player.Uuid
	info.Name = player.Name
	info.Level = player.Level
	info.Exp = player.Exp
	info.Gold = player.Gold
	info.Gem = player.Gem
	info.Stamina = player.Stamina
	info.Energy = player.Energy
	info.VipLevel = player.VipLevel
	return
}

func (player *Player) InfoMisc() (info *zpb.PlayerInfoMisc) {
	info = &zpb.PlayerInfoMisc{}
	return
}
